import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  resolve: {
    extensions: [".js", ".jsx", ".ts", ".tsx", ".json", ".vue"],
    alias: [
      // 设置 '@' 别名为项目的 'src' 目录

      { find: "@", replacement: "/src" },
    ],
  },
});
